/*
 * 软件版权: 恒生电子股份有限公司
 * 修改记录:
 * 修改日期     修改人员  修改说明
 * @Version:1.0
 * ========    =======  ============================================
 * 2025/3/10  hspcadmin  com.msb.common.constant 新增
 * ========    =======  ============================================
 */
package com.msb.common.constant;

/**
 * 功能说明:
 *
 * @author hspcadmin
 */
public class ProductConstant {
//  public static final Integer ATTR_TYPE_BASE = 1;
//
//  public static final Integer ATTR_TYPE_SALE = 0;

  public enum AttrEnum{
    ATTR_TYPE_BASE(1,"基本信息"),
    ATTR_TYPE_SALE(0,"销售信息");

    private int code;

    private String msg;

    public int getCode() {
      return code;
    }

    public String getMsg() {
      return msg;
    }

    AttrEnum(int code, String msg){
      this.code = code;
      this.msg = msg;
    }
  }

  public enum StatusEnum {
    SPU_NEW(0, "新建"),
    SPU_UP(1, "上架"),
    SPU_DOWN(2, "上架");

    private int code;

    private String msg;

    public int getCode() {
      return code;
    }

    public String getMsg() {
      return msg;
    }

    StatusEnum(int code, String msg){
      this.code = code;
      this.msg = msg;
    }
  }
}
